namespace AgileDashboard.AppCode
{
    using System;
    using System.Reflection;

    using log4net;

    using Ninject;

    public class DaoBase
    {
        protected static readonly ILog Log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
        protected readonly IDataConnection DataConnection;

        public DaoBase(IDataConnection dataConnection)
        {
            if (dataConnection == null)
            {
                throw new ArgumentNullException("dataConnection");
            }

            this.DataConnection = dataConnection;
        }
    }
}